package org.zhu.common.bean.dto;

import java.io.Serializable;

/**
 * Created by zhu yingzhi on 2017/10/26.
 * @author yingzhi zhu
 * 减少库存方法的数据传输对象
 */
public class ReduceStockDto  implements Serializable {
    /**
     * 订单id
     */
    private String orderId;
    /**
     * 该订单商品Id合集
     */
    private Long[] goodsIds;
    /**
     * 该订单商品数量合集
     */
    private int[] goodsNumbers;

    public ReduceStockDto() {
    }

    public ReduceStockDto(String orderId, Long[] goodsIds, int[] goodsNumbers) {
        this.orderId = orderId;
        this.goodsIds = goodsIds;
        this.goodsNumbers = goodsNumbers;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Long[] getGoodsIds() {
        return goodsIds;
    }

    public void setGoodsIds(Long[] goodsIds) {
        this.goodsIds = goodsIds;
    }

    public int[] getGoodsNumbers() {
        return goodsNumbers;
    }

    public void setGoodsNumbers(int[] goodsNumbers) {
        this.goodsNumbers = goodsNumbers;
    }
}
